"TEXT 1"="Activate window when mouse passes it (X Windows Style)"
"TEXT 2"="Bring active window to foreground if XMouse activates it"
"DESCRIPTION 1"="If the first option is activated, a window is activated a soon as the mouse pointer is over it."
"DESCRIPTION 2"="The first option should ONLY be enabled, if "Snap To Default Button" is disabled, OR if the second option is enabled also. Else the results might be very "strange"!
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Thanks also to CptSiskoX for the bug-report and the X-Mouse setting!"
'0x01 = Actvate Window on mouse
c_ValMouseAct=&H01
'0x40 = Bring Window to front
c_ValMouseFront=&H40
Sub Plugin_Initialize
if RegValueExists(UPM_GetUPMRegPath) then
if UPM_IsValueActivated(c_ValMouseAct)=true then
Call SetUIElement(1,true)
end if
if UPM_IsValueActivated(c_ValMouseFront)=true then
Call SetUIElement(2,true)
end if
else
Call Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
bVal1=GetUIElement(1)
bVal2=GetUIElement(2)
if bVal2=true and bVal1=false then
bVal1=true 'second option only with first option together!